﻿/***********************************************************************
 * <copyright file="RoleInSiteDto.cs" company="B/S JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   Hoang Bich Son 
 * Email:    sonhb@newman.vn
 * Website:
 * Create Date: Saturday, March 29, 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System.Runtime.Serialization;

namespace SecurityService.DataTransferObjects
{
    /// <summary>
    /// RoleInSiteDto
    /// </summary>
    [DataContract(Name = "RoleInSiteDto", Namespace = "http://www.yourcompany.com/types/")]
    public class RoleInSiteDto
    {        
        /// <summary>
        /// Gets or sets the role identifier.
        /// </summary>
        /// <value>
        /// The role identifier.
        /// </value>
        [DataMember]
        public int RoleId { get; set; }

        /// <summary>
        /// Gets or sets the permission identifier.
        /// </summary>
        /// <value>
        /// The permission identifier.
        /// </value>
        [DataMember]
        public int PermissionId { get; set; }

        /// <summary>
        /// Gets or sets the site identifier.
        /// </summary>
        /// <value>
        /// The site identifier.
        /// </value>
        [DataMember]
        public int SiteId { get; set; } 
    }
}
